package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 多时段分析记录对象 dispatchMultiPeriodAnalysisRecords
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchMultiPeriodAnalysisRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 多时段分析记录编号 */
    private Long multiPeriodAnalysisRecordsId;

    /** 关联的监测站点 ID */
    @Excel(name = "关联的监测站点 ID")
    private Long monitoringSitesId;

    /** 关联的监测指标 ID */
    @Excel(name = "关联的监测指标 ID")
    private Long monitoringIndicatorsId;

    /** 分析时间段的起始日期。 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "分析时间段的起始日期。", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 分析时间段的结束日期。 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "分析时间段的结束日期。", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    public void setMultiPeriodAnalysisRecordsId(Long multiPeriodAnalysisRecordsId) 
    {
        this.multiPeriodAnalysisRecordsId = multiPeriodAnalysisRecordsId;
    }

    public Long getMultiPeriodAnalysisRecordsId() 
    {
        return multiPeriodAnalysisRecordsId;
    }
    public void setMonitoringSitesId(Long monitoringSitesId) 
    {
        this.monitoringSitesId = monitoringSitesId;
    }

    public Long getMonitoringSitesId() 
    {
        return monitoringSitesId;
    }
    public void setMonitoringIndicatorsId(Long monitoringIndicatorsId) 
    {
        this.monitoringIndicatorsId = monitoringIndicatorsId;
    }

    public Long getMonitoringIndicatorsId() 
    {
        return monitoringIndicatorsId;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("multiPeriodAnalysisRecordsId", getMultiPeriodAnalysisRecordsId())
            .append("monitoringSitesId", getMonitoringSitesId())
            .append("monitoringIndicatorsId", getMonitoringIndicatorsId())
            .append("startDate", getStartDate())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("endDate", getEndDate())
            .toString();
    }
}
